{extend name="base/index"/}

{block name="page_location"}
<div class="row">
	<div class="col-12">
		<div class="page-title-box">
			<div class="page-title-right">
				<ol class="breadcrumb m-0">
					<li class="breadcrumb-item"><a href="{:url('index/index')}">管理中心</a></li>
					<li class="breadcrumb-item active"><i class="iconfont icon-angle-right"></i>网站手册</li>
				</ol>
			</div>
			<h4 class="page-title">
				网站手册信息
			</h4>
		</div>
	</div>
</div>
{/block}
{block name="body"}
<div class="row" id="manual_list_page">
	<div class="col-12">
		<div class="card">
			<div class="card-body">
				<table class="table table-centered mb-0">
                    <thead>
                        <tr>
                            <th width="5%">ID</th>
                            <th width="40%">标题</th>
                            <th width="10%">作者</th>
                            <th width="10%">发布时间</th>
                            <th width="15%">操作</th>
                        </tr>
                    </thead>
                    <tbody>
						{volist name="list" id="data"}
                        <tr>
                            <td>{$data.id}</td>
                            <td><a href="javascript:;" attr-id="{$data.id}" class="show_manual_btn">{$data.title}</a></td>
                            <td>{$data.author}</td>
                            <td title="{$data.posttime|date="Y-m-d H:i:s",###}">{$data.posttime|date="m-d H:i",###}</td>
                            <td>
								<a href="javascript:;" class="btn btn-primary btn-sm show_manual_btn" data-toggle="modal" attr-id="{$data.id}" data-target="#edit_box"><i class="iconfont icon-icon_compile"></i> 查看</a>
								{eq name="AdminInfo.username" value="developer"}
								<a href="javascript:;" attr-id="{$data.id}" class="btn btn-danger btn-sm Fast_Del" attr-model="manual"><i class="iconfont icon-icon_delete_fill"></i> 删除</a>
								{/eq}
                            </td>
                        </tr>
						{/volist}
                    </tbody>
                </table>
				<div class="row">
					<div class="col-12" style="text-align: center;">
						{$pagelist}
					</div>
				</div>					
			</div>
		</div>
	</div>
</div>
{/block}